
package com.fx.apartment.modules.activity.service.impl;

import com.fx.apartment.modules.activity.entity.ActivityVotes;
import com.fx.apartment.modules.activity.vo.ActivityVotesVO;
import com.fx.apartment.modules.activity.mapper.ActivityVotesMapper;
import com.fx.apartment.modules.activity.service.IActivityVotesService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * 投票纪录 服务实现类
 *
 * @author QinXueFeng
 * @since 2021-04-19
 */
@Service
public class ActivityVotesServiceImpl extends ServiceImpl<ActivityVotesMapper, ActivityVotes> implements IActivityVotesService {

	@Override
	public IPage<ActivityVotesVO> selectActivityVotesPage(IPage<ActivityVotesVO> page, ActivityVotesVO activityVotes) {
		return page.setRecords(baseMapper.selectActivityVotesPage(page, activityVotes));
	}

}
